import EntityExtension from './entityExtension'
import RoomExtension from './extension'
import { assignPrototype } from 'utils/utils'
import RoomBaseExtension from './roomBase/BaseExtension'
import FunctionalExtension from './roomBase/FunctionalExtension'
import RoomTowerExtension from './roomBase/tower/RoomTowerExtension'
import RoomLinkExtension from './roomBase/link/RoomLinkExtension'
import CacheExtension from './roomBase/CacheExtension'

/**
 * 挂载 RoomPosition 拓展
 */
export default () => {
    assignPrototype(Room, EntityExtension)
    assignPrototype(Room, RoomBaseExtension)
    assignPrototype(Room, CacheExtension)
    assignPrototype(Room, FunctionalExtension)
    assignPrototype(Room, RoomExtension)
    assignPrototype(Room, RoomTowerExtension)
    assignPrototype(Room, RoomLinkExtension)
    
}
